package com.reder.practice.common.enums.state;

import com.reder.practice.common.enums.Statable;
import lombok.Getter;

/**
 * 关注业务响应枚举类
 *
 * @author Fish
 * <p>Email: fishinlove@163.com</p>
 * <p>created by 2019/09/23 15:19:58</p>
 */
@Getter
public enum FollowState implements Statable {

    FOLLOW_FAILED(-1, "关注失败"),
    NOT_FOLLOW_FAILED(-2, "取消关注失败");

    int code = Statable.SUCCESS_CODE;
    String msg = null;

    FollowState(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
